package com.doom.a3rdlibdemo.decorator;

import android.util.Log;

public abstract class Decorator extends Pizza {
    private static final String TAG = Decorator.class.getSimpleName();

    @Override
    public double getPrice(){
        return this.getPrice();
    }

    public void show(){
        Log.d(TAG, "show name:"+getName()+" price:"+getPrice());
    }
}
